Dimpt =new Object();
Dimpt.getContextPath = function() {
	var tempPath = document.location.pathname.substring(1);
	return '/' + tempPath.substring(0, tempPath.indexOf('/'));
}
var CONTEXT_PATH = Dimpt.getContextPath();
//var CONTEXT_WEBSOCKET_URL="ws://"+window.location.hostname+":"+window.location.port+CONTEXT_PATH+"/websocket?";
//上线后需修改为现网地址
//var CONTEXT_WEBSOCKET_URL="ws://10.100.8.26:8085"+CONTEXT_PATH+"/websocket?";
var CONTEXT_WEBSOCKET_URL="ws://127.0.0.1:8080"+CONTEXT_PATH+"/websocket?";

